home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
misc_pto
/
mwpetz16
/
mformfed
< prev
next >
Wrap
Text File
|
1991-06-03
|
2KB
|
62 lines
############################################################################
# #
# MAKEFILE for the TIMEDEMO #
# #
############################################################################
# Compiler is 'M' for Microsoft, 'T' for Borland Turbo C
COMPILER = T
# Model is
# 1) Microsoft C - 'M' for Medium, 'L' for Large
# 2) Turbo C - 'm' for medium, 'l' for large
MODEL = l
# Borland Turbo C macros
CC = bccx
# Optimization : -G favors speed over size, -O improves jumps & loops
OPT = -G -O
CFLAGS = -DMEWEL -v -c -d -f- -k -N -K -m$(MODEL) -DDOS -Ic:\mewel -If:\bc\include -DFULLGDI
ASM = tasm
ASMFLAGS = /dTC=1 /dLMODEL=0 /mx
LINK = tlink
LFLAGS = /v
RC = \mewel\rc
# We tack the compiler and model onto the end of the library name, so
# the library for Borland's Turbo C, medium model would be called WINLIBTM.LIB
# Inference rules for C and ASM files
.c.obj :
$(CC) $(CFLAGS) $*.c
.asm.obj :
$(ASM) $(ASMFLAGS) $*;
.rc.res :
$(RC) $*
DEMO = formfeed
OBJS = $(DEMO).obj wprntdc.obj wprntout.obj wprnthp.obj wprntdrv.obj copylin.obj
OBJ = $(DEMO) wprntdc wprntout wprnthp wprntdrv copylin
all : $(DEMO).exe
$(DEMO).obj : $(DEMO).c
copylin.obj : copylin.asm
wprntdc.obj : wprntdc.c
wprntdrv.obj: wprntdrv.c
wprntout.obj: wprntout.c
wprnthp.obj : wprnthp.c
$(DEMO).exe : $(OBJS)
$(LINK) $(LFLAGS) f:\bc\lib\c0$(MODEL)+$(OBJ),$(DEMO),nul,f:\bc\lib\c$(MODEL)+c:\mewel\libtd